﻿
<?php

//error_reporting(E_ERROR | E_PARSE);
//error_reporting(E_ALL & ~E_STRICT & ~E_DEPRECATED);
//ini_set("display_errors", 0);
//define('SMARTY_DIR', PROJECT.'/framework/lib/Smarty-3.1.13/libs/');
//
define('ADMIN_TITLE', "信息化管理系统");
define('PROJECT_NAME', "信息化管理系统");
define('WEBSITE_URL','http://localhost/');


//for include smarty
ini_set('include_path', ini_get('include_path').PATH_SEPARATOR.SMARTY_DIR);


$CONFIG['DB']= array(
		'db_host'           =>      'localhost',
		'db_user'           =>      'root',
		'db_password'       =>      '123',
		'db_database'       =>      'infos',

		'db_charset'        =>      'urf8'
);


$CONFIG['SMARTY']= array(
    'templates'         =>      PROJECT.'/templates/',
    'templates_c'       =>      PROJECT.'/templates_c/',
    'configs'            =>      PROJECT.'/core/',
    'check'            =>      true,
    'cache'             =>      PROJECT.'/cache/',
    'left_delimiter'    =>      '{{',
    'right_delimiter'   =>      '}}',
    'debugging'         =>      false
   // 'caching'           =>      Smarty::CACHING_OFF
);
$CONFIG['ROUTER']= array(
    "dir"               => "",
    "controler"         => "index",
    "method"            => "index",
    "param"             => ""
);
